{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
   <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form action="" method="post">	
                <div class="box-header with-border">
                    <span class="fa fa-table" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">学期作息时间修改</p>
                </div>
                   <div class="box-body">
						<div class="form-group">
							  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
								   类别：
							  </label>
							  <div class="input-group col-md-6 col-sm-12 col-xs-12">
								   <select class="form-control" id="s1"  name="resttype_id">
								   {%foreach from=$resttype_lists key=key item=value%}
										<option value="{%$value.resttype_id%}">{%$value.resttype_name%}</option>
								   {%/foreach%}
										
								    </select> 
								   		
							  </div> 
				        </div>
						<div class="form-group">
							  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
								   内容：
							  </label>
							  <div class="input-group col-md-6 col-sm-12 col-xs-12">
								   <input type="text" class="form-control" value="{%$arrange_data.arrange_content%}" name="arrange_content">
							  </div> 
				        </div>
						<div class="form-group">
							  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
								   时间段：
							  </label>
							  <div class="input-group col-md-2 col-sm-12 col-xs-12" style="float:left">
								   <input type="text" class="form-control" name="start_time" id="starttime" value="{%$arrange_data.start_time%}">
								    <div class="input-group-addon">
									     <i class="fa fa-calendar"></i>
								    </div>
							  </div>
							  <span style="float:left; margin:0 10px;">至</span>
                               <div class="input-group col-md-2 col-sm-12 col-xs-12">
								   <input type="text" class="form-control" name="end_time" id="endtime" value="{%$arrange_data.end_time%}">
								   <div class="input-group-addon">
									     <i class="fa fa-calendar"></i>
								    </div>
							  </div>							  
				        </div>
						<div class="form-group">
							  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
								   备注：
							  </label>
							  <div class="input-group col-md-6 col-sm-12 col-xs-12">
								   <textarea class="form-control" rows="3" name="arrange_remark" value=""> {%$arrange_data.arrange_remark%}</textarea> 
							  </div> 
				        </div>
				   </div><!--box-body -->
				   <div class="box-footer text-center">
				      <button type="submit" class="btn btn-primary"> 确 定 </button>					  
				   </div>
               </form>
           </div><!--box box-default box-solid-->
         </section>     
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
{%include file="index.footer.tpl.php"%}
 <script>
  $(function() {
    $( "#starttime" ).timepicker({
      timeFormat: 'HH:mm:ss',
	  showMinute: true,
	  showSecond: true,
    });
	 $( "#endtime" ).timepicker({
      timeFormat: 'HH:mm:ss',
	  showMinute: true,
	  showSecond: true,
    });
  });
  </script>